Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable RTLD_DEEPBIND on all PHP SAPIs except for apache #420

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

danog
Copy link
Contributor

@danog danog commented Nov 14, 2024

This pull request changes the default behavior of dlopen to use RTLD_DEEPBIND only when compiling the Apache SAPI.

This fixes compatibility with custom allocators like jemalloc on newer glibc versions, while still retaining the old DEEPBIND behavior for apache, which seems to have been the reason why it was added.

Also see php/php-src#10670, php/php-src#11094, php/php-src#16779

Copy link
Member

@ptr1337 ptr1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good to me.

Will push it to the repository.

@ptr1337 ptr1337 merged commit b442579 into CachyOS:master Nov 14, 2024
@danog
Copy link
Contributor Author

danog commented Nov 18, 2024

@ptr1337 Thanks, mind rebuilding the package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants